<#assign ctx="${request.contextPath}">
<#assign ctxStatic="${request.contextPath}/static">
<!-- easyui皮肤 -->
<link rel="stylesheet" type="text/css" href="${ctxStatic}/plugins/easyui/jquery-easyui-theme/default/easyui.css"/>


<link href="${ctxStatic}/plugins/easyui/jquery-easyui-theme/icon.css" rel="stylesheet" type="text/css"/>
<link href="${ctxStatic}/plugins/easyui/icons/icon-all.css" rel="stylesheet" type="text/css"/>

<script src="${ctxStatic}/plugins/easyui/jquery/jquery-1.11.1.min.js"></script>

<script src="${ctxStatic}/plugins/easyui/jquery-easyui-1.3.6/jquery.easyui.min.js" type="text/javascript"></script>
<script src="${ctxStatic}/plugins/easyui/jquery-easyui-1.3.6/locale/easyui-lang-zh_CN.js"
        type="text/javascript"></script>

<!-- jquery扩展 -->
<script src="${ctxStatic}/plugins/easyui/release/jquery.jdirk.min.js"></script>

<!-- easyui扩展 -->
<link href="${ctxStatic}/plugins/easyui/jeasyui-extensions/jeasyui.extensions.css" rel="stylesheet" type="text/css"/>

<script src="${ctxStatic}/plugins/easyui/jeasyui-extensions/jeasyui.extensions.js" type="text/javascript"></script>
<script src="${ctxStatic}/plugins/easyui/jeasyui-extensions/jeasyui.extensions.progressbar.js"></script>
<script src="${ctxStatic}/plugins/easyui/jeasyui-extensions/jeasyui.extensions.slider.js"></script>
<script src="${ctxStatic}/plugins/easyui/jeasyui-extensions/jeasyui.extensions.linkbutton.js"
        type="text/javascript"></script>
<script src="${ctxStatic}/plugins/easyui/jeasyui-extensions/jeasyui.extensions.validatebox.js"
        type="text/javascript"></script>
<script src="${ctxStatic}/plugins/easyui/jeasyui-extensions/jeasyui.extensions.combo.js"
        type="text/javascript"></script>
<script src="${ctxStatic}/plugins/easyui/jeasyui-extensions/jeasyui.extensions.combobox.js"
        type="text/javascript"></script>
<script src="${ctxStatic}/plugins/easyui/jeasyui-extensions/jeasyui.extensions.menu.js" type="text/javascript"></script>
<script src="${ctxStatic}/plugins/easyui/jeasyui-extensions/jeasyui.extensions.searchbox.js"
        type="text/javascript"></script>
<script src="${ctxStatic}/plugins/easyui/jeasyui-extensions/jeasyui.extensions.panel.js"
        type="text/javascript"></script>
<script src="${ctxStatic}/plugins/easyui/jeasyui-extensions/jeasyui.extensions.window.js"
        type="text/javascript"></script>
<script src="${ctxStatic}/plugins/easyui/jeasyui-extensions/jeasyui.extensions.dialog.js"
        type="text/javascript"></script>
<script src="${ctxStatic}/plugins/easyui/jeasyui-extensions/jeasyui.extensions.layout.js"
        type="text/javascript"></script>
<script src="${ctxStatic}/plugins/easyui/jeasyui-extensions/jeasyui.extensions.tree.js" type="text/javascript"></script>
<script src="${ctxStatic}/plugins/easyui/jeasyui-extensions/jeasyui.extensions.datagrid.js"
        type="text/javascript"></script>
<script src="${ctxStatic}/plugins/easyui/jeasyui-extensions/jeasyui.extensions.treegrid.js"
        type="text/javascript"></script>
<script src="${ctxStatic}/plugins/easyui/jeasyui-extensions/jeasyui.extensions.combogrid.js"
        type="text/javascript"></script>
<script src="${ctxStatic}/plugins/easyui/jeasyui-extensions/jeasyui.extensions.combotree.js"
        type="text/javascript"></script>
<script src="${ctxStatic}/plugins/easyui/jeasyui-extensions/jeasyui.extensions.tabs.js" type="text/javascript"></script>
<script src="${ctxStatic}/plugins/easyui/jeasyui-extensions/jeasyui.extensions.theme.js"
        type="text/javascript"></script>

<!--<script src="${ctxStatic}/plugins/easyui/release/jeasyui.extensions.all.min.js"></script>-->

<script src="${ctxStatic}/plugins/easyui/icons/jeasyui.icons.all.js" type="text/javascript"></script>
<!--<script src="${ctxStatic}/plugins/easyui/release/jeasyui.icons.all.min.js"></script>-->

<script src="${ctxStatic}/plugins/easyui/jeasyui-extensions/jeasyui.extensions.icons.js"
        type="text/javascript"></script>
<script src="${ctxStatic}/plugins/easyui/jeasyui-extensions/jeasyui.extensions.gridselector.js"
        type="text/javascript"></script>

<script src="${ctxStatic}/plugins/easyui/jeasyui-extensions/jquery.toolbar.js" type="text/javascript"></script>
<script src="${ctxStatic}/plugins/easyui/jeasyui-extensions/jquery.comboicons.js" type="text/javascript"></script>
<script src="${ctxStatic}/plugins/easyui/jeasyui-extensions/jquery.comboselector.js" type="text/javascript"></script>
<script src="${ctxStatic}/plugins/easyui/jeasyui-extensions/jquery.portal.js" type="text/javascript"></script>
<script src="${ctxStatic}/plugins/easyui/jeasyui-extensions/jquery.my97.js" type="text/javascript"></script>
<script src="${ctxStatic}/plugins/easyui/jeasyui-extensions/jeasyui.extensions.ty.js"></script>

<link rel="stylesheet" href="${ctxStatic}/plugins/easyui/common/other.css"></link>

<script>
    //全局的AJAX访问，处理AJAX清求时SESSION超时
    $.ajaxSetup({
        contentType: "application/x-www-form-urlencoded;charset=utf-8",
        complete: function (XMLHttpRequest, textStatus) {
            //通过XMLHttpRequest取得响应头，sessionstatus
            var sessionstatus = XMLHttpRequest.getResponseHeader("sessionstatus");
            if (sessionstatus == "timeout") {
                //跳转的登录页面
                window.location.replace('${ctx}/login');
            }
        }
    });
</script>